using System;
using System.Collections;

namespace Com.CMS263.PO
{
	#region PayLog

	/// <summary>
	/// PayLog object for NHibernate mapped table 'PayLog'.
	/// </summary>
	public class PayLog
	{
		#region Member Variables
		
		protected int _id;
		protected int _userId;
		protected int _price;
		protected int _orderId;
		protected DateTime _payDate;

		#endregion

		#region Constructors

		public PayLog() { }

		public PayLog( int userId, int price, int orderId, DateTime payDate )
		{
			this._userId = userId;
			this._price = price;
			this._orderId = orderId;
			this._payDate = payDate;
		}

		#endregion

		#region Public Properties

		public virtual int Id
		{
			get {return _id;}
			set {_id = value;}
		}

		public  virtual int UserId
		{
			get { return _userId; }
			set { _userId = value; }
		}

		public  virtual int Price
		{
			get { return _price; }
			set { _price = value; }
		}

		public  virtual int OrderId
		{
			get { return _orderId; }
			set { _orderId = value; }
		}

		public  virtual DateTime PayDate
		{
			get { return _payDate; }
			set { _payDate = value; }
		}

		

		#endregion
	}
	#endregion
}